#include "testlib.h"
#include <cmath>

int main(int argc, char * argv[])
{
    setName("image similarity problem checker");
    registerTestlibCmd(argc, argv);
    
    double ja = ans.readDouble();
    double pa = ouf.readDouble();
    
    // 浮点数比较，允许误差在1e-9以内
    if (fabs(ja - pa) > 1e-9) {
        quitf(_wa, "expected %.2f, found %.2f", ja, pa);
    }
    
    quitf(_ok, "accepted");
}
